﻿/********************************************************
 * Project Name   : VAdvantage
 * Class Name     : MTaxCategory
 * Purpose        : Tax Category Model
 * Class Used     : X_C_TaxCategory class
 * Chronological    Development
 * Deepak           20-Nov-2009
  ******************************************************/
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using VAdvantage.Process;
using VAdvantage.Classes;
using VAdvantage.Model;
using VAdvantage.DataBase;
using VAdvantage.SqlExec;
using System.Data;
using System.Data.SqlClient;
using VAdvantage.Logging;
using VAdvantage.Utility;

namespace VAdvantage.Model
{
    public class MTaxCategory : X_C_TaxCategory
    {
        /// <summary>
        /// Standard Constructor
        /// </summary>
        /// <param name="ctx">context</param>
        /// <param name="C_TaxCategory_ID">id</param>
        /// <param name="trxName">trx</param>
        public MTaxCategory(Ctx ctx, int C_TaxCategory_ID, String trxName):base(ctx, C_TaxCategory_ID, trxName)
        {
            //super(ctx, C_TaxCategory_ID, trxName);
            if (C_TaxCategory_ID == 0)
            {
                //	setName (null);
                SetIsDefault(false);
            }
        }	//	MTaxCategory

        /// <summary>
        /// Load Constructor
        /// </summary>
        /// <param name="ctx">context</param>
        /// <param name="dr">datarow</param>
        /// <param name="trxName">trx</param>
        public MTaxCategory(Ctx ctx, DataRow dr, String trxName):base(ctx,dr, trxName)
        {
            
        }	//	MTaxCategory

    }	//	MTaxCategory

}
